package com.luo.service;

import com.github.pagehelper.PageInfo;
import com.luo.entity.QueryPageBean;
import com.luo.pojo.Address;

import java.util.List;
import java.util.Map;

/**
 * @author Zoro
 * @date 2021年09月02
 */
public interface AddressService {
    public abstract List<Address> findAllMaps();

    public abstract PageInfo<Address> findPage(QueryPageBean queryPageBean);

    public abstract void addAddress(Address address);

    public abstract void deleteById(Integer id);

    public abstract Map<String, Object> getAddressById(Integer id);
}
